package com.lyj.mall.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author lyj
 * @date 2019/12/19 0:10
 */
@Data
@ApiModel(value="UserRegisterForm",description="用户注册表单")
public class UserRegisterForm {
    @NotBlank(message = "用户名不可为空")
    private String username;
    @NotBlank(message = "密码不可为空")
    private String password;
    @NotBlank(message = "邮箱不可为空")
    private String email;
}
